package com.atguigu04.override.test2;

import com.atguigu04.override.test1.Order;

/**
 * ClassName: SubOrder
 * Package: com.atguigu04.override.test2
 * Description:
 *
 * @Author 姜
 * @Create 2023/11/21 17:50
 * @Version 1.0
 */
public class SubOrder extends Order {
    public void method() {
        orderProtected = 3;
        orderPublic = 3;

        methodProtected();
        methodPublic();
    }
}
